<?php

Yii::import('application.models._base.BaseDrillTag');

class DrillTag extends BaseDrillTag
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}

    public function GetDrillTags($id) {
        return $this->findAllByAttributes(
            array('drill_id'=>$id),
            array('order' => 'tag_id')
        );
    }

}